package cn.scm.server.multistage.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * 授信记录表(BizCreditGrantingRecord)实体类
 *
 * @author makejava
 * @since 2020-09-23 20:51:17
 */
@Data
@ApiModel(description = "授信记录对象")
@ToString
public class BizCreditGrantingRecordDTO implements Serializable {

    private static final long serialVersionUID = 903085440716840480L;
    @ApiModelProperty("授信ID")
    private String creditGrantingId;

    @ApiModelProperty("授信编号")
    private String creditGrantingNo;

    @ApiModelProperty("申请人ID")
    private String applyUserId;

    @ApiModelProperty("申请公司ID")
    private String applyCompanyId;

    @ApiModelProperty("子公司ID")
    private String companyId;

    @ApiModelProperty("子公司名称")
    private String companyName;

    @ApiModelProperty("授信额度")
    private BigDecimal creditGrantingLimit;

    @ApiModelProperty("授信起始日")
    private Date startDate;

    @ApiModelProperty("授信到期日")
    private Date expireDate;

    @ApiModelProperty("有效期(天)")
    private Integer validDay;

    @ApiModelProperty("已用额度")
    private BigDecimal usedLimit;

    @ApiModelProperty("剩余额度")
    private BigDecimal surplusLimit;

    @ApiModelProperty("授信状态：1 未提交,2 审批中,3 已启用,4 已失效,5 已拒绝")
    private Integer status;
    /**
     * 流程实例ID
     */
    @ApiModelProperty("流程实例ID")
    private String processInstanceId;
    /**
     * 创建时间
     */
    @ApiModelProperty("创建时间")
    private Date createTime;
    /**
     * 创建人
     */
    @ApiModelProperty("创建人")
    private String createUser;
    /**
     * 修改时间
     */
    @ApiModelProperty("修改时间")
    private Date updateTime;
    /**
     * 修改人
     */
    @ApiModelProperty("修改人")
    private String updateUser;



}